package org.hxyjs.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class AdminRno implements Serializable {
    private String rano;

    private String rno;

    private String ano;

    private Date ratime;

    private Date radate;

    private String rastate;

    private static final long serialVersionUID = 1L;

    public String getRano() {
        return rano;
    }

    public void setRano(String rano) {
        this.rano = rano;
    }

    public String getRno() {
        return rno;
    }

    public void setRno(String rno) {
        this.rno = rno;
    }

    public String getAno() {
        return ano;
    }

    public void setAno(String ano) {
        this.ano = ano;
    }

    public Date getRatime() {
        return ratime;
    }

    public void setRatime(Date ratime) {
        this.ratime = ratime;
    }

    public Date getRadate() {
        return radate;
    }

    public void setRadate(Date radate) {
        this.radate = radate;
    }

    public String getRastate() {
        return rastate;
    }

    public void setRastate(String rastate) {
        this.rastate = rastate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        AdminRno other = (AdminRno) that;
        return (this.getRano() == null ? other.getRano() == null : this.getRano().equals(other.getRano()))
            && (this.getRno() == null ? other.getRno() == null : this.getRno().equals(other.getRno()))
            && (this.getAno() == null ? other.getAno() == null : this.getAno().equals(other.getAno()))
            && (this.getRatime() == null ? other.getRatime() == null : this.getRatime().equals(other.getRatime()))
            && (this.getRadate() == null ? other.getRadate() == null : this.getRadate().equals(other.getRadate()))
            && (this.getRastate() == null ? other.getRastate() == null : this.getRastate().equals(other.getRastate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getRano() == null) ? 0 : getRano().hashCode());
        result = prime * result + ((getRno() == null) ? 0 : getRno().hashCode());
        result = prime * result + ((getAno() == null) ? 0 : getAno().hashCode());
        result = prime * result + ((getRatime() == null) ? 0 : getRatime().hashCode());
        result = prime * result + ((getRadate() == null) ? 0 : getRadate().hashCode());
        result = prime * result + ((getRastate() == null) ? 0 : getRastate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", rano=").append(rano);
        sb.append(", rno=").append(rno);
        sb.append(", ano=").append(ano);
        sb.append(", ratime=").append(ratime);
        sb.append(", radate=").append(radate);
        sb.append(", rastate=").append(rastate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}